import request from "../plugin/request";

export function getRankList(pageNum = 1, gid) {
  const url = `/mxd/distri/ranking?pageNum=${pageNum}&pageSize=10`;
  return request.post(
    url,
    {
      gid: gid,
      channelId: 0,
      orderby: "score",
    },
    {
      headers: {
        "Content-Type": "application/json",
      },
    }
  );
}
